package ch.holzi.paperracers.graphics;

import android.graphics.Canvas;
import android.graphics.Paint;

public class Block 
{
	private static Paint backgroundPaint = new Paint();
	private static Paint linePaint = new Paint();
	static
	{
		backgroundPaint.setColor(0xffffffff);
		linePaint.setColor(0xffbebebe);
	}
	public static void draw(Canvas canvas, int x, int y, int size)
	{
		canvas.drawRect(x, y, x+size, y+size, backgroundPaint);
		canvas.drawLine(x, y, x+size, y, linePaint);
		canvas.drawLine(x+size-1, y+1, x+size-1, y+size-1, linePaint);
	}
}
